<?php defined('InShopNC') or exit('Access Invalid!');?>

<header class="layout head padding-small">
    <a href="javascript:pageBack();" class="hBack float-left"></a>
    <h4 class="hTxt float-left text-center text-white">品牌加盟</h4>
    <a href="javascript:;" id="btnJdkey" class="hHlep float-right"></a>
</header>
<div class="margin ">

    <table class="radius-big layout padding bg-white points-list">
        <thead class="layout">
        <tr class="border-bottom layout">
            <th class="x3">品牌</th>
            <th class="x3">可用余额</th>
            <th class="x3">是否有效</th>
            <th class="x3">操作</th>
        </tr>
        </thead>
        <?php  if (count($output['list'])>0) { ?>
        <tbody class="layout">
        <?php foreach($output['list'] as $val) { ?>
        <tr class="layout">
            <td class="text-small"><?php echo $val['brand_name'];?></td>
            <td><?php echo $val['available_deposit']; ?></td>
            <td><?php echo $val['is_effective'] == 1 ? '否' : '是' ; ?></td>
            <td><a href="index.php?act=brand_alliance&op=brand_pay&brand_id=<?php echo $val['brand_id'];?>">【充值】</a>	</td>
        </tr>
        <?php }?>
        </tbody>  </table>
        <?php } else { ?>
    </table>
        <div class="noTxt text-center text-gray padding-large">
            <i class="icon-meh-o"></i>
            <p>暂无相关数据</p>
        <?php } ?>
        </tbody>
</div>
<!--积分明细E-->

